<%@page language="java" isELIgnored="false" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<jsp:directive.include file="/WEB-INF/sitemesh-decorators/include.jsp"/>
<fmt:setBundle basename="bundles.thesisstatus-resources"/>
<html>
<head>
<title>Edit <fmt:message key="thesisstatus.title"/></title>
</head>
<body>
<div id="contentarea"> 
<script type="text/javascript">
$().ready(function() {
	$('#thesisstatusform').validate();
});
</script>       
	<div id="lb"><div id="rb"><div id="bb"><div id="blc">
	<div id="brc"><div id="tb"><div id="tlc"><div id="trc">
	<div id="content">
		<h1><fmt:message key="navigation.edit"/> <fmt:message key="thesisstatus.title"/></h1>
		<div class="navitem"><a class="button" href="${pageContext.request.contextPath}/indexThesisstatus"><span><img src="includes/images/icons/back.gif" /><fmt:message key="navigation.back"/></span></a></div>
		<form:form id="thesisstatusform" action="${pageContext.request.contextPath}/saveThesisstatus" method="POST" modelAttribute="thesisstatus">
			<form:hidden id="thesisstatus_thesisStatusId" path="thesisStatusId"/>
			<table cellpadding="0" cellspacing="0" id="viewTable">
				<tbody>
									
					<tr>
						<td class="label" valign="top">
							<fmt:message key="thesisstatus.proposed.title"/>:
						</td>
						<td>
							<form:input id="thesisstatus_proposed" path="proposed" cssStyle="width:300px;" class="required"/> (Y/N)
							<!-- <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "thesisstatus_proposed",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="thesisstatus.proposed.help"/>"}})); </script> -->
						</td>
					</tr>
					<tr>
						<td class="label" valign="top">
							<fmt:message key="thesisstatus.proposaldate.title"/>:
						</td>
						<td>
							<input id="thesisstatus_proposalDate" name="proposalDate" type="text" value="<fmt:formatDate value="${thesisstatus.proposalDate.time}" pattern="MM/dd/yyyy h:mm a"/>" style="width:300px;" class="date required" />
							<!-- <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "thesisstatus_proposalDate",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="navigation.dateTime.title"/>"}})); </script> -->
						</td>
					</tr>
					<tr>
						<td class="label" valign="top">
							<fmt:message key="thesisstatus.defended.title"/>:
						</td>
						<td>
							<form:input id="thesisstatus_defended" path="defended" cssStyle="width:300px;"/>  (Y/N)
							<!-- <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "thesisstatus_defended",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="thesisstatus.defended.help"/>"}})); </script> -->
						</td>
					</tr>
					<tr>
						<td class="label" valign="top">
							<fmt:message key="thesisstatus.defensedate.title"/>:
						</td>
						<td>
							<input id="thesisstatus_defenseDate" name="defenseDate" type="text" value="<fmt:formatDate value="${thesisstatus.defenseDate.time}" pattern="MM/dd/yyyy h:mm a"/>" style="width:300px;" class="date"/>
							<!-- <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "thesisstatus_defenseDate",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="navigation.dateTime.title"/>"}})); </script> -->
						</td>
					</tr>
					<tr>
						<td class="label" valign="top">
							<fmt:message key="thesisstatus.proposalpass.title"/>:
						</td>
						<td>
							<form:input id="thesisstatus_proposalPass" path="proposalPass" cssStyle="width:300px;"/>  (Y/N)
							<!-- <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "thesisstatus_proposalPass",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="thesisstatus.proposalpass.help"/>"}})); </script> -->
						</td>
					</tr>
					<tr>
						<td class="label" valign="top">
							<fmt:message key="thesisstatus.defensepass.title"/>:
						</td>
						<td>
							<form:input id="thesisstatus_defensePass" path="defensePass" cssStyle="width:300px;"/>  (Y/N)
							<!-- <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "thesisstatus_defensePass",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="thesisstatus.defensepass.help"/>"}})); </script> -->
						</td>
					</tr>
					<tr>
						<td class="label" valign="top">
							<fmt:message key="thesisstatus.comments.title"/>:
						</td>
						<td>
							<form:input id="thesisstatus_comments" path="comments" cssStyle="width:300px;"/>
							<!-- <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "thesisstatus_comments",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="thesisstatus.comments.help"/>"}})); </script> -->
						</td>
					</tr>
				</tbody>
			</table>
			<span class="inputbutton"><input class="savebutton" id="save" type="submit" value="<fmt:message key="navigation.save"/>"/></span>
			<script type="text/javascript">Spring.addDecoration(new Spring.ValidateAllDecoration({elementId:'save', event:'onclick'}));</script>
		</form:form>
		<div class="clear">&nbsp;</div>
	</div>
	</div></div></div></div>
	</div></div></div></div>
</div>
</body>
</html>